//
//  NAStyledTableViewCell.h
//  NewApp
//
//  Created by  on 12-7-2.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NAMessage.h"
#import "ABTableViewCell.h"

enum NAStyle {
    NAStyle_B          = 1,
    NAStyle_C          = 2,
    NAStyle_D          = 3
};
typedef NSUInteger NAStyle;

@interface NAStyledTableViewCell : ABTableViewCell {
 
    NAStyle     currentStyle;
    NSString    *sID;
    NSString    *imageURL;
    NSString    *name;
    NSString    *createAt;
    NSString    *info;
    BOOL        isChild;
    BOOL        isExpanded;
    UIImage     *backgroundImage;
    BOOL        showsAccessory;
}

@property (nonatomic, copy)     NSString    *sID;
@property (nonatomic, copy)     NSString    *imageURL;
@property (nonatomic, copy)     NSString    *name;
@property (nonatomic, copy)     NSString    *createAt;
@property (nonatomic, copy)     NSString    *info;
@property (nonatomic,assign)    BOOL        isChild;
@property (nonatomic,assign)    BOOL        isExpanded;
@property (nonatomic,retain)    UIImage     *backgroundImage;
@property (nonatomic,assign)    BOOL        showsAccessory;

/**
 *  Contructor
 *  Initialize with NAStyle
 */
- (id) initWithNAStyle:(NSString *) style reuseIdentifier:(NSString *)reuseIdentifier;

/**
 *  Update cell 
 */
- (void) update;




@end
